<!DOCTYPE html 
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title>My Playlist</title>
  <!-- include prototype from where you have it available -->
  <script src="/static/prototype.js"></script>
  <!-- include swfobject from where you have it available -->
  <script src="/static/swfobject.js"></script>
  
  <!-- include the nuts and bolts of playlist -->
  <script src="/static/playlist/playlist.js" type="text/javascript"></script>
  <!-- include more nuts and bolts to make things shiny -->
  <link rel="stylesheet" href="/static/playlist/playlist.css" type="text/css" media="screen"></link>
</head>
<body>

<h1>My Playlist</h1>

<div id="playlist" class="playlist"></div>
<div id="player"></div>

<script type="text/javascript">
Event.observe(window, 'load', function() {
  Playlist.load('playlist', "{% url playlist_track_list %}", function() {
    new Playlist('{% url playlist_xspf %}', 'player', document.body);
  });
});
</script>

</body>
</html>